home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Scribefire-1.4.2 / scribefire-1.4.2-fx+fl.xpi / chrome / content / accountwizard.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-07-16  |  10.9 KB  |  171 lines

  1. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  2. <?xml-stylesheet href="chrome://performancing/skin/overlay.css" type="text/css"?>
  3. <!DOCTYPE dialog [ 
  4. <!ENTITY % performancingDTD SYSTEM "chrome://performancing/locale/overlay.dtd"> 
  5. %performancingDTD;
  6. <!ENTITY % performancingFallbackDTD SYSTEM "chrome://performancing/content/locale-default/overlay.dtd"> 
  7. %performancingFallbackDTD; 
  8. ]>
  9. <wizard id="performancing-account-wizard" title="&performancing.accountWizardTitle;" onwizardfinish="return onClose();"
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  11. <script type="application/x-javascript" src="chrome://performancing/content/editor.js"/>
  12. <script type="application/x-javascript" src="chrome://performancing/content/accountwizard.js"/>
  13. <script type="application/x-javascript" src="chrome://performancing/content/performancing_api.js"/>
  14. <script type="application/x-javascript" src="chrome://performancing/content/io.js"/>
  15. <script type="application/x-javascript" src="chrome://performancing/content/xmlrpc.js"/>
  16. <script type="application/x-javascript" src="chrome://performancing/content/performancingUtil.js"/>
  17. <script type="application/x-javascript" src="chrome://performancing/content/blogXML.js"/>
  18. <script type="application/x-javascript" src="chrome://performancing/content/performancing_api.js"/>
  19.  
  20. <!-- Localization Strings | http://www.xulplanet.com/references/elemref/ref_stringbundle.html -->
  21. <stringbundle id="performancingstrings" src="chrome://performancing/locale/overlay.properties"/>
  22. <stringbundle id="performancingstrings-fallback" src="chrome://performancing/content/locale-default/overlay.properties"/>
  23.  
  24.   <wizardpage pageid="start" next="start2" onpageshow="return true" onpageadvanced="return onAutoNext()">
  25.     <description>
  26.       &performancing.accountwizard.intro;
  27.     </description>
  28.     <separator class="thin"/>
  29.     <deck id="autodetect-deck" selectedIndex="0">
  30.         <vbox>
  31.             <label value="&performancing.accountwizard.enterblogurl;"/>
  32.             <textbox id="blog-url" value="&performancing.accountwizard.enterblogurl.example;" width="300px"/>
  33.             <hbox>
  34.                 <button label="&performancing.accountwizard.manualconfigure;" oncommand="goTo('start2')"/>
  35.             </hbox>
  36.         </vbox>
  37.         <vbox style="margin-left: 10px" align="center">
  38.             <hbox>
  39.                 <image id="autodetect-throbber" src="chrome://global/skin/throbber/Throbber-small.gif" align="center"/>
  40.                 <label value="&performancing.accountwizard.checkingblogsettings;" />
  41.             </hbox>
  42.             <button label="&performancing.accountwizard.manualconfigure;" oncommand="goTo('start2')"/>
  43.         </vbox>
  44.         <vbox>
  45.             <hbox>
  46.                 <label value="&performancing.accountwizard.blogfoundcont;" class="autoDetectText"/>
  47.             </hbox>
  48.         </vbox>
  49.         <vbox>
  50.             <label value="&performancing.accountwizard.couldnotautodetect;" class="autoDetectText2"/>
  51.             <hbox>
  52.                 <button label="&performancing.accountwizard.tryagain;" oncommand="tryAgain()" />
  53.                 <button label="&performancing.accountwizard.manualconfigure;" oncommand="goTo('start2')"/>
  54.             </hbox>
  55.         </vbox>
  56.     </deck>
  57.     
  58.   </wizardpage>
  59.   
  60.   <wizardpage pageid="start2" next="login" onpageshow="return enableNext()" onpageadvanced="onLoad(); return checkForCustom()">
  61.     <description>
  62.       &performancing.accountwizard.intro;
  63.     </description>
  64.     <separator class="thin"/>
  65.     <label value="&performancing.accountwizard.choosebloggingserv;"/>
  66.     <menulist maxwidth="300px" id="performancing-blogservice-list">
  67.       <menupopup>
  68.         <menuitem label="WordPress.com" value="wordpress_com" api="s_mt" apiurl="http://wordpress.com/xmlrpc.php" apikey="0123456789ABCDEF" tooltiptext="&performancing.accountwizard.wordpressex;" disabled="false"/>
  69.         <menuitem label="TypePad.com" value="typepad_com" api="s_mt" apiurl="http://www.typepad.com/t/api" apikey="0123456789ABCDEF" tooltiptext="&performancing.accountwizard.typepadex;" disabled="false"/>
  70.         <menuitem label="LiveJournal" value="livejournal_com" api="s_blogger" apiurl="http://www.livejournal.com/interface/blogger/" apikey="0123456789ABCDEF" tooltiptext="&performancing.accountwizard.livejournalex;" disabled="false"/>
  71.         <menuitem label="Windows Live Spaces" value="msnspaces_com" api="s_metaweblog" apiurl="https://storage.msn.com/storageservice/MetaWeblog.rpc" apikey="" tooltiptext="&performancing.accountwizard.msnspacesex;" disabled="false"/>
  72.         <menuitem label="Performancing" value="performancing_com" api="s_mt" useBoolean="true" apiurl="http://performancing.com/xmlrpc.php" tooltiptext="&performancing.accountwizard.performancingex;" disabled="false"/>
  73.         <menuitem label="Jeeran" value="jeeran_com" api="s_metaweblog" apiurl="http://api.jeeran.com/blogs/rpc.rem" tooltiptext="&performancing.accountwizard.jeeranex;" disabled="false"/>
  74.         <menuitem label="&performancing.accountwizard.customblog;" value="_custom" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  75.       </menupopup>
  76.     </menulist>
  77.   </wizardpage>
  78.   
  79.     <wizardpage pageid="doTOSConfirm" next="login" onpageshow="return enableNext();" onpageadvanced="return checkForAcceptedTOS()">
  80.     <description>
  81.       &performancing.accountwizard.toscaption;
  82.     </description>
  83.     <separator class="thin"/>
  84.     <iframe flex="1" id="performancing-aw-tos-frame" src="chrome://performancing/content/blank2.html" width="300px"/>
  85.     <checkbox id="pff-license-check" checked="false" label="&performancing.accountwizard.tosaccept;"/>
  86.   </wizardpage>
  87.   
  88.   <wizardpage description="&performancing.accountwizard.customlogindetails;" pageid="login-custom" next="login" onpageshow="return enableNext()" onpageadvanced="" flex="1">
  89.   <label value="&performancing.accountwizard.selectblogsystem;"/>
  90.     <menulist maxwidth="300px" id="performancing-blogservice-custom-list" >
  91.       <menupopup>
  92.         <menuitem label="WordPress" onclick="onCustomListClick()" value="wordpress_cust" api="mt" apiurl="http://myserver.com/blog/xmlrpc.php" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  93.         <menuitem label="Movable Type" onclick="onCustomListClick()" value="moveabletype_cust" api="mt" apiurl="http://myserver.com/mt/mt-xmlrpc.cgi" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  94.         <menuitem label="Drupal" onclick="onCustomListClick()" value="drupal_cust" api="mt" useBoolean="true" apiurl="http://myserver.com/xmlrpc.php" tooltiptext="&performancing.accountwizard.drupal;" disabled="false"/>
  95.         <menuitem label="Textpattern" onclick="onCustomListClick()" value="textpattern_cust" api="mt" apiurl="http://myserver.com/blog/textpattern/xmlrpcs.php" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  96.         <menuitem label="Roller" onclick="onCustomListClick()" value="roller_cust" api="metaweblog" apiurl="http://myserver.com/xmlrpc" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  97.         <menuitem label="MetaWeblog API" onclick="onCustomListClick()" value="metaweblog_cust" api="metaweblog" apiurl="http://myserver.com/xmlrpc.php" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  98.         <menuitem label="Blogger" onclick="onCustomListClick()" value="atom_blogger_cust" api="atom_blogger" apiurl="http://BLOGNAME.blogspot.com/feeds/posts/full" tooltiptext="&performancing.accountwizard.customex;" disabled="false"/>
  99.       </menupopup>
  100.     </menulist>
  101.     
  102.     <separator class="thick"/>
  103.     
  104.     <label value="&performancing.accountwizard.addorchangeapiurl;"/>
  105.     <vbox>
  106.      <label value="&performancing.accountwizard.serverapiurl;"/>
  107.      <textbox id="custom-apiurl" value="http://mywebsite.com/blog/xmlrpc.php" width="300px"/>
  108.     </vbox>
  109.     
  110.     <checkbox label="&performancing.accountwizard.advancedsettings;" oncommand="document.getElementById('account-advanced-settings').hidden = !document.getElementById('account-advanced-settings').hidden;" />
  111.     
  112.     <vbox id="account-advanced-settings" hidden="true" style="border: 1px groove #000;">
  113.         <checkbox id="useBooleanForPublish" label="&performancing.accountwizard.usebooleanpublish;" checked="false" />
  114.         <hbox>
  115.             <label value="&performancing.accountwizard.apikey;" width="80px"/>
  116.             <textbox id="custom-appkey" type="password" maxwidth="200px" value="" />
  117.             <label value="&performancing.accountwizard.apikeyignored;" width="80px" style="font-size: x-small;"/>
  118.         </hbox>
  119.     </vbox>
  120.     
  121.     <textbox id="custom-api" value="" width="100px" hidden="true"/>
  122.   </wizardpage>
  123.  
  124.   <wizardpage description="&performancing.loginDetails;" pageid="login" next="login-loading" onpageshow="return enableNext()" onpageadvanced="return tryServiceLogin('true')" >
  125.     <label value="&performancing.accountwizard.addusrnpasstoblog;"/>
  126.     <hbox>
  127.      <label value="&performancing.accountwizard.username;" width="80px"/>
  128.     <textbox id="username"  maxwidth="200px"/>
  129.     </hbox>
  130.     <hbox>
  131.      <label value="&performancing.accountwizard.password;" width="80px"/>
  132.     <textbox id="password" type="password" maxwidth="200px" />
  133.     </hbox>
  134.     <box height="50px">
  135.         <label id="login-error-msg" value="&performancing.accountwizard.errorusrnpass;" style="color: red;" hidden="true"/>
  136.     </box>
  137.   </wizardpage>
  138.  
  139.   <wizardpage description="&performancing.accountwizard.loggingin;" pageid="login-loading" next="success" onpageshow="return disableNext()" onpagehide="return enableNext()">
  140.      <label value="&performancing.accountwizard.logginginplswait;"/>
  141.   </wizardpage>
  142.  
  143.   <wizardpage description="&performancing.accountwizard.loginerror;" pageid="login-error" next="login" onpagerewound="return gotoLoginPage()" onpageshow="return disableNext()" >
  144.      <label value="&performancing.accountwizard.loginerror;"/>
  145.      <label value="&performancing.accountwizard.errorcheckusrnpass;"/>
  146.   </wizardpage>
  147.  
  148.   <wizardpage description="&performancing.accountwizard.succesfulllogin;" pageid="success" onpageshow="return enableNext()" next="finish"  onpageadvanced="return tryServiceSelection()" >
  149.      <label value="&performancing.accountwizard.succesfulllogindesc;"/>
  150.      <label value="&performancing.accountwizard.confirminfobelow;"/>
  151.      <separator class="thin"/>
  152.      <label value="&performancing.accountwizard.blogstobeadded;"/>
  153.      <listbox id="performancing-wizard-blog-list" maxwidth="600px" maxheight="200px" flex="1" rows="3" style="overflow: -moz-scrollbars-horizontal" seltype="multiple">
  154.           <listhead flex="1" >
  155.             <listheader label="&performancing.accountwizard.blogname;"/>
  156.             <listheader label="&performancing.accountwizard.url;" />
  157.           </listhead>
  158.         
  159.           <listcols>
  160.             <listcol flex="1"/>
  161.             <listcol flex="1" />
  162.           </listcols>
  163.      </listbox>
  164.   </wizardpage>
  165.   
  166.   <wizardpage description="&performancing.accountwizard.accountaddeddesc;" pageid="finish" onpageshow="return saveBlogToSprefs()" >
  167.      <label value="&performancing.accountwizard.accountadded;"/>
  168.   </wizardpage>
  169.  
  170. </wizard>
  171.